from applications.extensions import db

# 突发事件处置的列表信息
class ReportListModels(db.Model):
    __tablename__ = 'admin_emergy_report_list'
    id = db.Column(db.Integer, primary_key=True, autoincrement=True, comment='识别标记')
    police_id = db.Column(db.Integer, comment='警员编号')
    name = db.Column(db.String(20), comment='警员姓名')
    tranning_state = db.Column(db.String(20), comment='训练状态')
    tranning_name = db.Column(db.String(20), comment='训练名称')
    create_time = db.Column(db.DateTime, comment='创建时间')
    fireDegree = db.Column(db.Integer, comment='火势大小')
    fireRange = db.Column(db.Integer, comment='火势范围')
    evacuat_num = db.Column(db.Integer, comment='火灾需疏散人数')
    has_evacuat_num = db.Column(db.Integer, comment='火灾已疏散人数')
    windSpeed = db.Column(db.Integer, comment='火场风速控制')
    haveBuild = db.Column(db.String(20), comment='是否加入高楼')
    tempControl = db.Column(db.Integer, comment='火场温度控制')
    decision_maker_num = db.Column(db.Integer, comment='决策者数量')
    scheme_num = db.Column(db.Integer, comment='方案数量')
    recognition_ratio = db.Column(db.Integer, comment='高认可度决策者比例')